package com.aizuda.boot.modules.business.contract.mapper;

import com.aizuda.boot.modules.business.approval.entity.CcTaskEntity;
import com.aizuda.boot.modules.business.approval.entity.dto.TaskQueryDTO;
import com.aizuda.boot.modules.business.approval.entity.vo.TaskCenterDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 抄送任务Mapper接口
 */
@Mapper
public interface CcTaskMapper extends BaseMapper<CcTaskEntity> {

    /**
     * 查询用户的抄送任务
     */
    List<TaskCenterDTO> selectCcTasks(@Param("query") TaskQueryDTO query);
}
